package com.itheima.concurrentHashMap;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.concurrent.ConcurrentHashMap;

public class ConcurrentHashMapDemo {

    public static void main(String[] args) {

        HashMap<String, String> map = new HashMap<>();
        map.put("aaa","wql");

        ConcurrentHashMap<String, String> map2 = new ConcurrentHashMap<>();
        map2.put("aaa","wql");

        Hashtable<String, String> map3 = new Hashtable<>();
        map3.put("aaa","wql");
    }
}
